package com.example.demo.exception;
import lombok.Getter;
/**
 * @descreption:
 * @author: xhr
 * @date: 2022/09/04
 */
@Getter
public class ServiceException extends RuntimeException {
    private String code;

    public ServiceException(String code, String msg) {
        super(msg);
        this.code = code;
    }

}
